package com.itcast.java.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 秒杀活动场次实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:38:46
 */
@Data
@TableName("sms_seckill_session")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "SmsSeckillSessionEntity对象", description = "秒杀活动场次")
public class SmsSeckillSessionEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "场次名称")
    @TableField("name")
        private String name;

        @ApiModelProperty(value = "每日开始时间")
    @TableField("start_time")
        private Date startTime;

        @ApiModelProperty(value = "每日结束时间")
    @TableField("end_time")
        private Date endTime;

        @ApiModelProperty(value = "启用状态")
    @TableField("status")
        private Boolean status;

        @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
        private Date createTime;

        }